#include "stm32f10x.h"                  // Device header

#define compare_max 100
#define m1 0
#define m2 1
#define m3 2
#define m4 3


void PWM_Init(void);
void PWM_SetCompare(float pwm_out[4]);
void motor_stop();